package com.ee.bruscar;


import java.io.File;
import java.net.URL;

import com.ee.bruscar.example.business.ContentDelegate;
import com.ee.bruscar.generator.StubInterfaceGenerator;


public class StubGeneratorRunner
{

	public static void main(String[] args)
	{
		runContentDelegate();
	}
	
	
	public static void runContentDelegate()
	{
		URL thisUrl = StubGeneratorRunner.class.getResource(".");
		
		String filePath = thisUrl.getPath().replace("test-", "") + "/configuration/ContentDelegateDumpsterConfig.xml";
		StubInterfaceGenerator generator = new StubInterfaceGenerator( new File( filePath ) );
		generator.generate();
	}
	
	

}
